package com.imooc.miaosha.service;

import org.apache.solr.client.solrj.SolrServerException;

import javax.management.Query;
import java.io.IOException;
import java.util.List;

public interface SolrService {
    public List<Integer> queryIndex(String val, String indexName, int start) throws IOException, SolrServerException;

    public void insert(String val, String id);
}
